package logic;
import java.io.*;
import java.util.ArrayList;
import java.util.HashMap;

public class GATELIB
{
	private static String[] singleGates={"H","NOT","T","t","had","not"};
	public static boolean isInLibrary(String g)
	{
		for(int i=0;i<singleGates.length;i++)
		 if(singleGates[i].compareTo(g)==0)
		  {
			  return true;
		  }  
		return false;  
	}	
	public static GATE getLibGate(String s)
	{
		return new GATE(s);
	}	
}
	
